<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<script type="text/javascript">
    function pagerFormCall(data) { 
        var json = eval(data);
        var ybzfbChart = echarts.init(document.getElementById('ybzfb'));
   	    var option = json.result;
        ybzfbChart.setOption(option);  
        ybzfbChart.on('click', function (params) {
        $(this).dialog({id:'mydialog', url:'market/rygz/del.jsp', title:'测试弹窗'});
	})      
    }  
</script>
<div class="bjui-pageContent">
	<div style="margin:5px auto 0; width:96%;">
        <div class="row" style="padding: 0 8px;">
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
	                    <form id="pagerForm" data-toggle="ajaxform" 
	                        action="market/rygz/admissionRecAction!ryrcByfb.action" method="post"
	                        data-callback="pagerFormCall" data-toggle="ajaxload">     
					            <label>开始日期：</label>  
					            <input type="text" name="ksrq" id="dialog_ksrq" value="<fmt:formatDate value='${admissionRec.ksrq}' pattern='yyyy-MM-dd'/>" data-toggle="datepicker" data-rule="required" size="14">&nbsp;&nbsp;
					            <label>结束日期：</label>
					        	<input type="text" name="jzrq" id="dialog_jzrq" value="<fmt:formatDate value='${admissionRec.jzrq}' pattern='yyyy-MM-dd'/>" data-toggle="datepicker" data-rule="required" size="14">&nbsp;&nbsp;
					            <button id="searchbtn" type="submit" class="btn-default" data-icon="search">查询</button>
					    </form>
					</div>
                    <div class="panel-body">
                        <div id="ybzfb" style="mini-width:400px;height:350px"></div>                        
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="bjui-pageFooter">	
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
    </ul>
</div>

